package com.springcloud.test.controller;

import com.springcloud.test.DcClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Desc TODO
 * ----------------
 * @CLASS_NAME: DcController
 * ----------------
 * @Author jovi
 * ----------------
 * @Date 2020-03-24 15:41
 */
@RestController
public class DcController {

    @Resource
    private DcClient dcClient;

    @GetMapping("/consumer")
    public String dc() {
        return dcClient.conusmer();
    }
}
